package com.commodity.Service;

import com.commodity.entity.Warehouse;
import com.commodity.entity.WarehouseSearchBean;
import com.commodity.utils.PaginateInfo;

import java.util.List;

public interface WarehouseService {
    List<Warehouse> findAll(WarehouseSearchBean wsb, PaginateInfo pi);

    boolean add(Warehouse warehouse);

    int deleteByIds(Integer[] intIds);

    Warehouse findById(Integer id);

    boolean update(Warehouse warehouse);
}
